From: Matthieu Gallien Date: Thu, 2 Jan 2025 11:46:39 +0000 (+0100) Subject: add a simple github action workflow to build test the documentation X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~2^2~160^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=95b4f26b19fcaebb036ef1be915f08bd2c1482fd;p=nextcloud-desktop.git add a simple github action workflow to build test the documentation Signed-off-by: Matthieu Gallien --- diff --git a/.drone.yml b/.drone.yml index 8e8b3c55a..d538bdc02 100644 --- a/.drone.yml +++ b/.drone.yml @@ -189,23 +189,7 @@ trigger: - pull_request - push --- -kind: pipeline -name: Documentation - -steps: -- name: build - image: nextcloudci/documentation:documentation-5 - commands: - - cd doc - - make html -trigger: - branch: - - master - event: - - pull_request - - push ---- kind: signature -hmac: 1fbd0241ba0d4ea2702804324f4932b3f29d3d937ef75906a529cd00c4252a57 +hmac: 94f252484ad174569755f01f37a1776a74085e73b39e36defd4c9e5e13b48456 ... diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml new file mode 100644 index 000000000..95b71918d --- /dev/null +++ b/.github/workflows/documentation.yml @@ -0,0 +1,22 @@ +name: Generate Documentation +on: + pull_request: + types: [opened, synchronize, reopened] +jobs: + build: + name: Generate Documentation + runs-on: ubuntu-latest + container: ghcr.io/nextcloud/continuous-integration-client-qt6-doc:client-doc-6.8.0-1 + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 1 + - name: Generate documentation + run: | + cd doc + make html > build.log 2>&1 + if grep WARNING build.log; then + exit 1 + else + exit 0 + fi